package com.hbsi.demo1;

/**
 * @author 程奕红
 * @version 1.0
 */
public class JoinThread implements  Runnable {

    @Override
    public void run() {
        for(int i=0;i<6;i++){
            System.out.println(Thread.currentThread().getName()+"    "+i);
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
